The morphologies of massive galaxies at 1 z< 3 in the CANDELS-UDS field: compact bulges, and the rise and fall of massive discs | Synapse