A 400-solar-mass black hole in the galaxy M82