Ab. initio study of the structural, elastic, electronic and optical properties of Cu3N