Ab initio calculations related to the formation of propynal and propadienone in interstellar clouds