Besides the amount of light emitted by a star, what else may affect a star's apparent magnitude?