Ramsey numbers for quadrangles and triangles