One-Way Secret-Key Agreement and Applications to Circuit Polarization and Immunization of Public-Key Encryption