Connecting Molecular Conformation to Aggregation in P3HT Using Near Edge X-ray Absorption Fine Structure Spectroscopy