Posture Recognition Using the Interdistances Between Wearable Devices