Steam engines behind German wage and innovation gaps 150 years on, study shows