Effects of mirror reflectivity in excitonic optical bistability