Confident Object Detection via Conformal Prediction and Conformal Risk Control: an Application to Railway Signaling