Rayleigh-Ritz and Galerkin finite elements for diffusion-convection problems