Monitoring and Synchronization of Cardiac and Respiratory Traces in Magnetic Resonance Imaging: A Review