Principles of epidemiological research on adverse and beneficial drug effects