Who was the elected President of Mexico from 1877 after the overthrow and execution of Emperor Maximilian until, with a gap from 1880 to 1884, a rebellion in 1911?