Separation of soft and collinear singularities from one-loop N-point integrals