Flexible Barrier Materials for Improving the Durability of Photovoltaic Devices