Mechanical response of two polyimides through coarse-grained molecular dynamics simulations