Selected Compounds Structurally Related to Acyclic Sesquiterpenoids and Their Antibacterial and Cytotoxic Activity