Student perceptions and motivation in the classroom: exploring relatedness and value