As Pope Francis undergoes treatment for double pneumonia, many are looking ahead to the process of selecting his successor which has remained largely unchanged for the past 800 years