Ahmadinejad tells Obama: Iran can be friend of America