Rings with the double centralizer property