Didactic Problems of the Teaching of History in the Light of History as a Science