Improving the noise robustness of reset controllers with an observer