Collaborative Adaptation: Learning to Recover from Unforeseen Malfunctions in Multi-Robot Teams