Novel GaN-based nanocomposites: Effective band structure and optical property tuning by tensile strain or external field