Polarized photoluminescence and electroluminescence in oriented films of regioregular poly(3-alkylthiophenes)