Evaporated aluminium nitride encapsulating films