Solar modulation of galactic cosmic ray electrons and positrons over the 23rd solar minimum with the PAMELA experiment