One of America's greatest songwriters and composer of "teenage symphonies to God" invented a massively successful pop sound full of harmonies and sunshine