Online Adaptive Optimal Control For Continuous-time Systems