Experimental single-photon pulse characterization by electro-optic shearing interferometry