How and why secondary mathematics teachers assessed the way they did