Local structure of hydrated and dehydrated Prussian white cathode materials