Phase transitions in pseudospin- electron model with direct interaction between pseudospins