Reduction and polymorphic transformation of B-Nb2O5