Fabrication and characterisation of three-dimensional passive and active photonic crystals