Encapsulation as a method for preventing degradation in Li-air batteries