The rock counterculture had a dark side. Joan Didion saw it coming