Theoretical studies on the proton-transfer reactions in propylene and pentadiene derivatives