Doping dependence of local magnetic moments and antiferromagnetism in high-Tc superconductors: Asymmetry between electron and hole doping