Femtoscopy of pp collisions at √s=0.9 and 7 TeV at the LHC with two-pion Bose-Einstein correlations