Femtosecond pulse phase measurement by spectrally resolved up-conversion: application to continuum compression