Corn and beans see nice gains last week