Density functional study of the structural, electronic, and magnetic properties of neutral and charged rhodium clusters up to tetramer