Quasi-hereditary algebras and directed corings