Wearable devices: a historical perspective, the research and the 'quantified self' movement.