Thailand votes in first post-coup general elections