When did the first industrial revolution merge into the second?