Molecular dynamics simulation of two photon-absorbing polyimides: Evidence for the formation of intra- and inter-chain dimers