FogQSYM: An Industry 4.0 Analytical Model for Fog Applications