Model free optimal control of unknown nonaffine nonlinear systems with input quantization and DoS attack