Weak measurement of photon polarization