The Catholic Church does not have the power to bless same-sex unions, the Vatican office responsible for doctrine has said.