A Wireless Sensor Network for Monitoring Physical Activity, Physiological Response, and Environmental Conditions