Optical metrics and projective equivalence