Transition from ideal statistics to interactions by host distortion in the intercalation thermodynamics of Li into amorphous WO3 films of varying thickness