The unified Seyfert scheme and the origin of the cosmic X-ray background