Energy Dept. grant aims to harden microgrids