Formation of polyelectrolyte complex and its adsorption properties