Optimal control of multiphoton ionization of Rb 2 molecules in a magneto-optical trap