Existence and Regularity of Solutions for Some Partial Integrodifferential Equations Involving the Nonlocal Conditions