The Costa Concordia has been pulled upright in a major salvage operation off the coast of Italy.