Donald Trump has said there would be "hell to pay" unless the hostages held in Gaza were released ahead of his inauguration.