The glass transition in thin polymer films