Deposition of transparent and flexible nanolayer barrier on standard coating materials for photovoltaic devices