Insert gas entrapment in films produced by ion-assisted physical vapour deposition processes