Metropolis Algorithm and equienergy sampling for two mean field spin systems