PAMELA's measurements of geomagnetically trapped and albedo protons