Research on optimal control to resolve the contradictions between restricting abnormal combustion and improving power output in hydrogen fueled engines