Surface gravity and Hawking temperature from entropic force viewpoint