A generalization of the Keisler-Morley theorem to recursively saturated ordered structures