Synthesis of polyhydroxyalkanoate from palm oil and some new applications