A decision model for environmental R&D