Pope says church should study ordaining women as deacons