Law firms have “failed to invest” in debt recovery teams