Resonant activation in a bistable system