Swiss voters have rejected a proposal to introduce a guaranteed basic income for everyone living in the country.