California and New York have become the first two US states to vote to raise the minimum wage, to $15 an hour.