Two-color super-resolution localization microscopy via joint encoding of emitter location and color