Comparison between ab initio and polarizable molecular dynamics simulations of 1-butyl-3-methylimidazolium tetrafluoroborate and chloride in water