Energy Modeling And Management For Data Services In Multi-Tier Mobile Cloud Architectures