The aminoshikimic acid pathway in bacteria as source of precursors for the synthesis of antibacterial and antiviral compounds