Asymmetric dark matter, inflation, and leptogenesis from B−L symmetry breaking