Synthesis and characterization of lead based and lead free double perovskite for multifunctional application