AMP sells Cogent for £245m