Characterizing the sensitivity of 2DEG-based magnetic field and ultraviolet light sensors in space-simulant environments