'Smart' retainer keeps patients (and teeth) in line