Can you explain the differences between IDS (Intrusion Detection System) and IPS (Intrusion Prevention System)?