1960s San Francisco is remembered as the capital of gay liberation, but it also saw the birth of conversion therapy.