Antibacterial activities of anthraquinones: structure–activity relationships and action mechanisms