RFK Jr. says he plans to appeal New York ruling keeping him off presidential ballot