Time has historically been closely related with space, the two together merging into spacetime in Einstein's special relativity and general relativity. Historically, time has been closely related with what?