A spectrometer for near threshold photoproduction of neutral pions