Women in Saudi Arabia have voted for the first time and were also allowed to stand as candidates in the latest municipal elections.