A photoelectric polarimeter based on a micropattern gas detector for X-ray astronomy