A comparison of the brittle PMMA with the ductile PC on the elasticity and yielding from a molecular dynamics perspective