US president postpones possible attacks on Iranian energy infrastructure after hailing ‘productive’ talks with Tehran