Mechanism of cyclization of substituted 2′-hydroxychalcones to flavanones