Alternative derivation of electromagnetic cloaks and concentrators