Automatic method of pause measurement for normal and dysarthric speech