Nuclei charge measurement with the AMS-02 silicon tracker