Almost-perfect polyphase sequences with small phase alphabet