Determination of the effective mechanical response of polymer matrix composites via microstructural data