Free-standing planar thin-film thermoelectric microrefrigerators and the effects of thermal and electrical contact resistances