Solid hulls and cores of weighted H ∞ -spaces