Formulation of 11-dimensional supergravity in superspace