Prediction of polymer crystal structures and properties: a method utilizing simultaneous inter- and intramolecular energy minimization