'Smart capsule' is potential new drug-delivery vehicle