A comparative study of teachers' perceptions of traditional teaching and teaching with technology: pre-technology era and post-technology era