Three-dimensional optical behaviour of a confocal microscope with a single illumination and detection pinhole through imaging of subresolution beads