Synthesis of bisphenol a novolac epoxy resins for coating applications