Man arrested after armed police standoff in Perth