Communication, common knowledge and consensus