Compact spectral shearing interferometer for ultrashort pulse characterization