Elastic scattering of 6He + 27Al and 7Be + 51V at RIBRAS