Two sculptures on a charity art trail in York were left with large cracks after being targeted.