how do defense attorneys get paid