Archbishop of Canterbury Justin Welby will step down from his role in early January over his handling of the John Smyth scandal.