A probabilistic framework for synapse localization and class discovery in the mouse whisker barrel cortex