How long did Mary, Queen of Scots spend in prison?