Hamas ready to cooperate, but only in Gaza