What was an agreement between napoleon and the pope that recognized catholicism as the majority religion in france?