A physicochemical mechanism for magnetic field detection by migratory birds and homing pigeons