Physics and Applications of Dilute Nitrides