Infrared absorption study of nitrogen in N-implanted GaAs and epitaxially grown GaAs1−xNx layers