Phase modulated multiphoton microscopy