Attorney General Geoffrey Cox told opposition MPs to "grow up and get real" because full Brexit legal advice has been withheld.