Measurements of of low-p T electrons from semileptonic heavy-flavour hadron decays at mid-rapidity in pp and Pb-Pb collisions at √sNN=2.76 TeV