Synthesis, structure and applications of amorphous diamond