From Lynette Yiadom-Boakye’s Tate show playlist to the MFA Boston’s Basquiat and hip-hop soundtrack, music can have a profound effect on how we view art