Low-cost sensors could one day enable patients to log exercise and track progress in a smartphone app