Electric-field effect on positronium formation in condensed matter