Galactic mass and anisotropy profile with halo K-giant and blue horizontal branch stars from LAMOST/SDSS and Gaia