Harry Styles Pens Ballad With John Legend