what is the work of a petrochemical engineer