Hierarchical polymer coating for optimizing the antifouling and bactericidal efficacies