US stocks show mixed weekly close