Dark matter from baryon asymmetry