Tuning oxygen vacancies and resistive switching behaviors in amorphous Y2O3 film-based memories