Water dimer properties in the gradient-corrected density functional theory