Boris Johnson says the £1.25bn order for five Type 31e frigates will safeguard 2,500 jobs.