Photoproduction of mesons on the nucleon