Police: Thief swings metal hook at homeowner when caught stealing packages