Slope and curvature measurement by a double-frequency-grating shearing interferometer