Neural Estimation of the Rate-Distortion Function With Applications to Operational Source Coding