The Evolution of Binaries in a Gaseous Medium: Three-dimensional Simulations of Binary Bondi–Hoyle–Lyttleton Accretion