Celebrities Who Found Best Friends in Their Costars: From Mindy and B.J. to Hilarie and Sophia