The Duke and Duchess of Sussex are to step back from senior roles in the royal family and work towards financial self-sufficiency after a period marked by open warfare with the media over claimed intrusion and bullying.