Atomic force microscope featuring an integrated optical microscope