Corruption, income, and rule of law: empirical evidence from developing and developed economies