Potential energy curves in the electron—vibron model