Compact long-term recorder for the transabdominal foetal and maternal electrocardiogram