Characterization of defects in additively manufactured materials from mechanical properties