who wrote the song the rose by bette midler