Temperature dependence of the magnetic and electrical properties of Permalloy∕gadolinium∕Permalloy thin films