Bounds on the neutrino magnetic moment from SN 1987 A