A tandem algorithm for speech separation