Educating to legality. A tool to prevent crimes of psychiatric patients