Branes and six-dimensional supersymmetric theories