Justices OK searches on mass transit