Mechanistic insights into the Nb2O5 and niobium phosphate catalyzed in situ condensation of a fluorescent halochromic assembly