Along with husband Alan, the Jewish Brooklynite was behind 'The Way We Were,' 'How Do You Keep the Music Playing?' and hundreds of other songs