A search for pulsed IR and near-IR emission from PSR1937 + 214