Ex-Uber security chief sentenced over covering up hack