Nonlinear pattern selection and heat transfer in thermal convection of a viscoelastic fluid saturating a porous medium