Conformation of piperidine and of derivatives with additional ring hetero atoms