Active and Passive Brain-Computer Interfaces Integrated with Extended Reality for Applications in Health 4.0