definition of criminal attorney