Dijet azimuthal correlations and conditional yields in pp and p+Pb collisions at sqrt(sNN) = 5.02 TeV with the ATLAS detector