Finite pulse effects in single and double quantum spectroscopies