Energy-Aware Task Allocation for Teams of Multi-mode Robots