Rivera throws scoreless inning as Yanks top Astros