Hydration free energies of nucleic acid bases using an ab initio continuum model