The role of acid catalysis in the genesis of amber