Mechanical and structural properties of Permalloy films on glass and/or Si(111) substrates