A next-generation hard X-ray nanoprobe beamline for in-situ studies of energy materials and devices