RKKY interaction for strongly correlated electrons