Relational Semantics for Kleene Logic and Action Logic