Polish president backs boosting security ‘based on nuclear potential’