An effective method to prevent stiction problems using a photoresist sacrificial layer