Hybrid simulations of solar wind interaction with magnetized asteroids: Comparison with Galileo observations near Gaspra and Ida