Rational design of nano- and micro-size medicinal forms of biologically active substances