Homeless man wins $1 million on California Lottery scratch-off ticket