Solid immersion microscopy system with deformable mirror for correction of aberrations