Density-functional study of the hydrogen-bonded water cluster H5O2+