Monopole and quadrupole strong interaction effects in pionic atoms of 175Lu and 165Ho