Three-dimensional nonlinear optical endoscopy