Asymmetric dark matter from leptogenesis