Iran's new president defends right to nuclear energy