Reconstruction of the gravitational wave signal h(t) during the Virgo science runs and independent validation with a photon calibrator