An unconditionally stable implicit time integration algorithm