A low-cost device for contactless detection of pacemaker pulses