Growth of epitaxial layers of gallium nitride on silicon carbide and corundum substrates