Nucleation kinetics of vapor bubbles in a liquid with arbitrary viscosity