Preparing pre-service teachers for online teaching