Qatar has suspended its work as a mediator in ceasefire and hostage release talks between Israel and Hamas, officials say.