A man has been arrested after a number of pedestrians were injured when a car crashed into security barriers outside the Houses of Parliament, Scotland Yard said.