Migration pathways in Ag-based superionic glasses and crystals investigated by the bond valence method