Morphology and failure in nanocomposites. Part I: Structural and mechanical properties