Water-mediated transformations in protein crystals