Cloud and Fog Computing Platforms for Internet of Things