Learning from successes and failures in pharmaceutical R&D