Police investigate shooting at Portsmouth apartment building