US stocks end week in red