Analogue of the classical invariant theory for Lie superalgebras