Jeremy Corbyn has sought to fight off charges of sexism by appointing a shadow cabinet with more women than men for the first time in history.