Motte allows 2 HRs in 9th, Cards fall to D-backs