First-passage times in renewal and nonrenewal systems.