Dependence of clustering of X-ray AGN on obscuration