A chemical link between saturated and unsaturated aldehydes and ketenes in the interstellar medium