Sudan thwarts military coup attempt, officials say, after so