Elastic moduli of nanostructured carbon films