O'Neill hits three-run blast as Cardinals defeat Astros 8-5