Transform Learning for Magnetic Resonance Image Reconstruction: From Model-based Learning to Building Neural Networks