The reference-probe model for a robust and optimal radical-pair-based magnetic compass sensor.