The puzzle of high temperature superconductivity in layered iron pnictides and chalcogenides