The influence of molecular environment on the K-shell fluorescence yield of carbon in small molecules