Research and development expenditures and quality of life in European Union countries