Whenever two or more persons are jointly charged with any crime, they must be tried jointly, subject to the power of the court, in its discretion and for special reasons, to order separate trials as to one or more of the defendants, and when tried jointly there may be joint or several convictions or acquittals, as the jury may determine the facts.