Costain reveals £90m loss in half-year results