Event-related potentials and use of psychotropic medication in major psychiatric disorders