Leo XIV elected as first American pope