Biophysical basis for brain folding and misfolding patterns in ferrets and humans