Flat-band-induced itinerant ferromagnetism in RbCo2 Se2