A Self-Powered Wearable Body-Detecting/Brain-Stimulating System for Improving Sports Endurance Performance