Investigation on hardness, impact, and compression responses of additively manufactured functionally graded nanocomposites