Rockets make three-way deal with Kings, Suns