Nets complete buyouts to secure their top two draft picks