Obama and Medvedev agree major cut to nuclear warheads