Inner-shell photoemission from atoms and molecules using synchrotron radiation