A shiny brown-coloured element ‘X’ on heating in air becomes black in colour. Name the element ‘X’ and the black coloured compound formed.