Pairs of k-step reachability and m-step observability matrices