Quantum mechanical theory of epitaxial transformation of silicon to silicon carbide