Flexible and transparent multibarrier coating for solar cells