Molecular dynamics model for the antibactericity of textured surfaces