What university was Popper appointed a professor of astronomy at