Analysis of cardiotocograms in time and frequency domains