Development of an imaging polarimeter for water wave slope measurements