Miniature magnetic fluid seal working in liquid environments