Production of orbitally excited charm mesons in semileptonic B decays