Thermally controllable Mie resonances in a water-based metamaterial