Iraqi parliament appoints defense and interior ministers