Mainstreaming gender, democratizing the state