Teachers vow to fight any boost in class sizes by Ford government