A methodology for 3D geometrical characterisation of microfluidic channels using optical microscopy