Malliavin Calculus for Stochastic Processes and Random Measures with Independent Increments