Potential energy function and rotation-vibration energy levels of CH3+