Ex-president of Armenia Robert Kocharyan released on bail