Police confirms man shot dead in Subirats was Barcelona attack perpetrator