The nucleus of an atom consists of