Effects of quadratic drag and throughflow on double diffusive convection in a porous layer