Outspoken gay marriage foe installed as San Francisco archbishop