Noisy non-inverting op amp with gain selection
Finally it turned out that the op amp was oscillating. The solution was to add 10 nF capacitor in parallel with R3. Anyway, thanks everybody for your suggestions.