Front contact layer of multiphase silicon-carbon in thin film silicon solar cell