Legal basis for cooperation between the prosecutor's office and the judiciary in the Soviet state