Rock counterculture had a dark side. Joan Didion saw it coming. Her writings on rock & roll were a small but significant part of her legacy