Bose-condensed optomechanical-like system and a Fabry–Perot cavity with one movable mirror: quantum correlations from the perspectives of quantum optics