Connection between phase singularities and the radiation pattern of a slit in a metal plate