Resveratrol inhibits the proliferation of melanoma cells by modulating cell cycle