Thermal, photosynthesis and antibacterial studies of bioactive safrole derivative as precursor for natural flavor and fragrance