An Adaptive Bayesian System for Context-Aware Data Fusion in Smart Environments