Properties and applications of carbon-doped GaAs and AlxGa1-xAs layers grown by MBE with a pyrolytic graphite filament