State Sen. Mike Hodges says he has cancer, will continue to serve in elected office