Drift instability in the presence of a ac electric field