LiftRight: Quantifying strength training performance using a wearable sensor