Thought Experiments in the Theory of Relativity and in Quantum Mechanics: Their Presence in Textbooks and in Popular Science Books