The applications of metaheuristics for human activity recognition and fall detection using wearable sensors: a comprehensive analysis