FPGA design of fetal ECG extraction and classification using optimized non-causal adaptive filter and deep neural accelerator