General Criteria of Integrability of Functions of Passage-Times for Nonnegative Stochastic Processes and Their Applications