Electronic implications of organic nitrogen lone pairs in lead iodide perovskites