Synthesis and characterization of magnetic liquid and its application as an inclination sensor