Size-dependent phase morphologies in LiFePO4 battery particles