A population synthesis model for the ultraviolet spectrum of the peculiar galaxy NGC 1672