Computational study of GaAs1−xNx and GaN1−yAsy alloys and arsenic impurities in GaN