Fog-Assisted Cloud Platforms for Big Data Analytics in Cyber Physical Systems: A Smart Grid Case Study