Monte Carlo simulations of structure and melting transition in small Ag clusters