Phase evolution in single-crystalline LiFePO4 followed by in situ scanning X-ray microscopy of a micrometre-sized battery