Coherence and realism in the Aharonov-Bohm effect