Estyn warned teaching must improve in half of secondary schools in Wales.