X-ray diffraction etching and optical studies of silicon carbide crystals in relation to polytypic growth and electronic charge distribution