who wrote if you could read my mind