Angular distribution of photoelectrons in resonant photoionization of polarized atoms