Solvent and ion-pair effects on the self-condensation of linear aliphatic aldehydes: selective synthesis of substituted acrylaldehydes and glycol monoesters