Israel releases ex-president jailed for rape in 2011