On the 50th anniversary of Picasso’s death, the Barcelona museums dedicated to the two artists host an exceptional exhibition focusing on their artistic and human ties