Post-synthetic modified PANI/MOF composites with tunable thermoelectric and photoelectric properties.