Synthesis and characterization of antidandruff agents and its application in oil and shampoo formulations