Charge distribution in thin inorganic electret layers