Divorce law on sharing cash ‘hopelessly out of date’, warns top lawyer