Synthesis, structure and functionalisation of 1,2-diazetidines