Jennifer Lopez leaves American Idol