A novel method for edge detection in a gray image based on human psychovisual phenomenon and Bat algorithm