The benefits and hazards of fracking