Dick Smith writes down $60m inventory after poor sales