Improving motivation for physical activity and physical education through a school-based intervention