Fast cubature of volume potentials over rectangular domains by approximate approximations