But women are still largely shut out of some of today’s most in-demand jobs.