What does a magnetic resonance imaging scanner do?