Optical mode characterization of single photons prepared by means of conditional measurements on a biphoton state