Graded Hecke algebras for disconnected reductive groups