Roman Catholic priest risks priesthood, comes out as gay in book