Stanley Black & Decker posts weak profits