Exploring AI Perceptions in Education: Unveiling the Role of Student and Teacher Motivation and Self-Efficacy | Synapse