Molecular dynamics simulation of single ions in aqueous solutions: effects of the flexibility of the water molecules