who wrote the song i had the time of my life