Controlling structural change in BaTiO3 by ultrafast laser excitation