An algorithm for the estimation of the Signal-to-Noise Ratio in surface myoelectric signals generated during cyclic movements