The internal alignment and position resolution of the AMS-02 silicon tracker determined with cosmic-ray muons