Arsenal midfielder Mesut Ozil says his former Real Madrid teammate Cristiano Ronaldo helped to make him a better player.