His songwriting and rhythm guitar playing helped shape the San Francisco band’s sound as it emerged to become an American institution.