Obama: Iran can have nuclear program