Optical transfer function of an optical system with a vortex phase mask in the presence of primary aberrations