Integrodifferential equations of Volterra type with nonlocal and impulsive conditions