Bactericidal effects of nanopatterns