Effect of functional group on dissociation kinetics of ester and acid derivative of bromopropane