Appeals court: Detroit students have a right to literacy