a dentist can tell if you have a cavity