Dirac operator, magnetic field, Aharonov-Casher theorem