Evolution of clouds in radio galaxy cocoons