Virtual fundamental classes via dg-manifolds