5. Find the absolute maximum and the absolute minimum values of \( y = (x^2 - 1)^3 \) on the given interval [-1,2].