A Unified Approach to Semantic Information and Communication Based on Probabilistic Logic