Reactivity of planar and twisted amides in vacuum and aqueous environments: an ab initio MEP study