Investigating the local structure of ionic conductors for solid state batteries