Dark Matter, Baryon Asymmetry, and Spontaneous B and L Breaking