Magnetic and optical properties of Cr+-implanted GaN