An investigation of the effect of teaching strategies on cognitive and affective responses of pre-service teachers toward computers