Evaporation-induced self-assembly of antibacterial colloidal films