Discovery could energize development of longer-lasting batteries