Saudi Arabia will allow women to attend sports events in stadiums for the first time from next year, officials say.