Ab initio random structure searching for battery cathode materials.