UBV(RI)C JHK observations of Hipparcos-selected nearby stars