Optimal aerodynamic design of hypersonic inlets by using streamline-tracing techniques