Real Madrid midfielder Ceballos out for several weeks with hamstring injury