Onset of turbulence in particle-laden pipe flows