Interplay between magnetism and superconductivity in high-temperature superconductors La2-xBaxCuO4 and Fe1+yTe1-xSex: crystal growth and neutron scattering studies