Structure of Repeated-Root Constacyclic Codes of Length 3p^s and Their Duals