Delve into the detailed mechanisms of SN1 and SN2 substitution reactions.