Microstructure and electrical response of thin SiC films on Si substrates of p- and n-types