Explicit hybrid optimal control of direct injection stratified charge engines