At the Vatican, a Shift in Tone Toward Gays and Divorce