Effects of hard apertures on mode properties of resonators with gaussian reflectivity mirrors