The thermal stability and electrical properties of LaErO3 films as high-k gate dielectrics