Modular energy storage systems