‘Like thermodynamics before Boltzmann.’ On the emergence of Einstein's distinction between constructive and principle theories