BBC's China Editor Carrie Gracie has resigned from her post in Beijing due to pay disparities with her male colleagues in what she calls 'unlawful pay discrimination'.