QUADRATIC ORDER CONDITIONS FOR AN EXTENDED WEAK MINIMUM IN OPTIMAL CONTROL PROBLEMS WITH INTERMEDIATE AND MIXED CONSTRAINTS