Adaptive optics for confocal laser scanning microscopy with adjustable pinhole