Quarkonia disintegration due to time dependence of the qq̄ potential in relativistic heavy-ion collisions