Cueto throws complete game, Reds beat Pirates 6-1