A Bayesian hierarchical model for spot fluorescence in microarrays