The futility index. An approach to the cost-effective termination of randomized clinical trials