Self-aggregation and antimicrobial activity of imidazolium and pyridinium based ionic liquids in aqueous solution.