Effects of surface properties on barrier height and barrier inhomogeneities of platinum contacts to n-type 4H-SiC