CMS RPC efficiency measurement using the tag-and-probe method