Time-dependent Ginzburg-Landau equations for rotating and accelerating superconductors