Bioactivity and Molecular Docking Studies of Derivatives from Cinnamic and Benzoic Acids