Examining the resilience of national energy systems: Measurements of diversity in production-based and consumption-based electricity in the globalization of trade networks. (December 2015)