Metro to buy homes through federal flood program