Phase transitions for high-dimensional joint support recovery