criminal defense attorney role