Disorder in LixFePO4 : From glasses to nanocrystallites