First-principles calculations of optical properties of GeC, SnC and GeSn under hydrostatic pressure