Torsion of SU(2)-structures and Ricci curvature in dimension 5