The effect of f-ion valence on superconductivity in the series Pb2Sr2RCu3O8 (R=Ce, Pr, Tb and Am)