Characterising dynamics of MEMS devices at wafer level using optical measurement techniques