Beltran powers Cardinals to 12-3 rout of Pirates