Composite and surrogate outcomes in randomised controlled trials