Swimmer who fainted in pool is banned from competing in World Championships