Layered ternary M n+1AX n phases and their 2D derivative MXene: an overview from a thin-film perspective