Triple Range Imager and POLarimeter (TRIPOL)—a compact and economical optical imaging polarimeter for small telescopes