On the aperture and pattern space factors for rectangular and circular apertures