Record number of female MPs win seats in 2017 general election