Experimental and theoretical approaches for determining the K-shell fluorescence yield of carbon