New solid state oxygen and hydrogen conducting materials. Towards their applications as high temperature electrochemical devices and gas separation membranes