High performance two-way full colors of transmission and reflection generated by hybrid Mg–TiO2 metasurfaces