Water adsorption on hydroxylated silica surfaces studied using the density functional theory