Optical and electrical properties of polyamide acid and metal-polymer complex based on terbium