Microreversibility and nonequilibrium response theory in magnetic fields