Longitudinal partial coherence of optical radiation