40Gbit/s coherent optical receiver using a Costas loop.