Nearly three million children from working families in the UK are living in poverty, new figures show.