Fivebranes, membranes and non-perturbative string theory