The majority of Greek voters appear to have rejected reform proposals, in a vote that could see Greece leave the euro zone.