Electromagnetic interaction between the pantograph and the overhead contact wire