Wall Street closes lower on end-of-quarter moves