Tony Pulis leaves Stoke City