who wrote the song smoke on the water