ELECTROMAGNETIC DECAYS OF MESONS IN THE QUARK MODEL