Transformation of a hollow Gaussian beam into a ring-shaped beam using a phase aperture