Studies of the chemical functionalisation of diamond electrodes