A Comparative Analysis of Photospheric Bright Points in an Active Region and in the Quiet Sun