Uber CEO Travis Kalanick resigns after months of crisis