Teachers’ and students’ perspectives on teaching and learning through virtual learning environments