Intrinsic Motivation in Public Service: Theory and Evidence from State Supreme Courts