Gravar-mail: Boundary-layer effects on electromagnetic and acoustic extraordinary transmission through narrow slits