Synthesis of the 3a,8a-dihydrofuro[2,3-b]benzofuran-2(3H)-one and 1,3,3a,8a-tetrahydro-2H-benzofuro[2,3-b]pyrrol-2-one ring systems from 4-formylcoumarin via acyllactone and iminolactone rearrangements