Scalar and tensor perturbations in loop quantum cosmology: high-order corrections