The formation mechanism of barium titanate thin film under hydrothermal conditions