Impact and Damage Prediction of Sandwich Beams with Flexible Core Considering Arbitrary Boundary Effects