A generalized nonisospectral Camassa–Holm equation and its multipeakon solutions