who wrote the lyrics to smoke on the water