Across a seven-decade-long career, he penned retro hits like “Breaking Up Is Hard to Do” and “Calendar Girl”