The Onset of Double-Diffusive Nanofluid Convection in a Layer of a Saturated Porous Medium