cost to replace flat roof