Netanyahu and Gantz agree to form emergency unity government