who wrote if a picture paints a thousand words