The two main teaching unions are threatening to boycott Sats in primary schools next year if the government fails to scrap the controversial exams.