Inclusive charged pion photoproduction on12C using tagged photons in the energy range (200?390) MeV