Beckett sharp in Red Sox's 9-3 loss to Cardinals