who wrote the song i hate you i love you