Physical properties of M class asteroids