Electromagnetic pion form factor in the timelike region