Hilbert schemes and stable pairs: GIT and derived category wall crossings