Tehran says its nuclear facilities will only be used to generate electricity .