A simple, robust hardware device for passive or active respiratory gating in MRI and MRS experiments