Instrumental Variables in Causal Inference and Machine Learning: A Survey