Silicon MEMS for Detection of Liquid and Solid Fronts