how to become a petroleum engineer