Hamas confirms participation in Cairo truce talks