Stress State of GaN Epilayer Grown on Sapphire and 6H-SiC Substrates