A study of ta-C, a-C:H and Si-a:C:H thin films on polymer substrates as a gas barrier