Modeling of the tau and muon neutrino-induced optical Cherenkov signals from upward-moving extensive air showers