Armenian ex-President Robert Kocharyan released on bail following court decision