How global warming helped transform Sandy from a hurricane into a Frankenstorm