A monopolistic competition model of social security, unemployment and product innovation