Measuring Energy Consumption of Cross-Platform Frameworks for Mobile Applications