Bankrupt shipbuilder is being bought by Spanish state-owned group Navantia