Robert Prevost becomes the first American to be elected pope, following a two-day conclave in Vatican City.