Optically Induced Irreversible Ferroelastic and Ferroelectric Switching in Epitaxial BaTiO3 Films on Silicon