Stress responses in Escherichia coli and HIV as model systems of adaptation to the environment