How does the catholic church know if you have been married before