Statistics of resonances and of delay times in quasiperiodic Schrodinger equations