Solution-based synthesis of niobium oxides for catalysis and battery applications