Pope Francis has said he is open to married men becoming priests to combat the Roman Catholic Church's shortage of clergy.