Creep characteristics of coal and rock investigated by nanoindentation