Cost-effective maintenance of safety and security barriers in the chemical process industries via genetic algorithm