Work function dependence on the thickness and substrate of carbon contamination layers by Kelvin probe force microscopy