Heat content and mean curvature