A novel approach to the analysis of muscle synergies based on the average threshold crossing technique