how to become a defense attorney