Control of resistive switching type in BaTiO3 thin films grown by high and low laser fluence