Privacy Threats and Protection in Machine Learning