Local supersymmetry, superconformal algebra in two dimensions and strings in background fields