Use of a neural network constitutive model for the size-dependent effects of curing on the deformation response and failure of fiber-reinforced polymer matrix composites