This function creates an interactive Plotly 3D slice plot from a 3D correlation array.
The function uses the array's dimnames to define the coordinate values. If no dimnames are present,
a warning is issued and sequential indices are used. The plot displays three surfaces corresponding
to slices along each dimension (i, j, k) at the best band combination (where the correlation value is maximal).