An ab initio and molecular mechanical investigation of ureas and amide derivatives