Polarimetric measurements of single-photon geometric phases