A fourth order cubic B-spline collocation method for the numerical study of the RLW and MRLW equations