New class of polyphase sequences with two-valued auto- and crosscorrelation functions