Learning-Based Optimization of the Under-Sampling Pattern in MRI