Atiyah class and Todd class of dg manifolds