The synergistic effect of acid-etched g-C3N4 nanosheets and polyaniline nanofibers for the adsorption and photocatalytic degradation of textile dyes: a study of charge transfer mechanism and intermediate products