Electromagnetic decay of the 1.7 and 2.43 MeV levels in 9Be