van der Waals interactions in a magnetodielectric medium