Nonlinear optical response of wurtzite ZnO from first principles