COMPTEL detection of pulsed gamma-ray emission from B1509-58 up to at least 10 MeV