Synthesis and β-lactamase inhibition of anacardic acids and their analogues