Time-resolved study of nonlinear photoemission in radio-frequency photoinjectors.