Disturbance Observer-based Control Barrier Functions with Residual Model Learning for Safe Reinforcement Learning