Why Periodic Trends Happen: Effective Nuclear Charge and Shielding