What the gay rights movement learned from the civil rights movement