Cohesive properties of group-III nitrides: A comparative study of all-electron and pseudopotential calculations using the generalized gradient approximation