The gas, liquid, and solid phases of dimerizing hard spheres and hard‐sphere dumbbells