Quintom Cosmology with General Potentials