Bismuth phosphates as intermediate temperature proton conductors: From polycrystalline powders to amorphous glasses