An electron ion coincidence spectrometer for single and double photoionization studies