Black hole accretion and host galaxies of obscured quasars in XMM-COSMOS