Isoperimetric inequality for Hausdorff contents and its applications