Surface effect influence on the quality factor of microresonators