Iran gains $5bn by shifting reserves to euro