NASCAR penalizes teams for inspection violations