Subdwarf studies. I. UBVRI photometry of NLTT stars