New drug-delivery capsule may replace injections