Inverse problems for the Schrödinger equations with time-dependent electromagnetic potentials and the Aharonov–Bohm effect