The queen's coffin was brought to the Houses of Parliament, where the late monarch will lie in state for four days.