Internal stress and adhesion of r.f.-sputtered MgO films on glass substrates