Ferrofluidic platform for cell and droplet manipulation