Application of boundary integral equations to elastoplastic problems