Paul Williams managed an amazing feat—writing songs that were intentionally awful yet totally endearing.