Syntheses, activity and modeling studies of 3- and 4-(sulfo- and sulfonamidoalkyl)pyridine and piperidine-2-carboxylic acid derivatives as analogs of NMDA receptor antagonists.