Samsung Electronics said its Galaxy S3 and Note 2 helped it to defy a shrinking smartphone market in the first quarter, boosting its overall profits by 42 percent from a year ago.Related StoriesApple's WWDC 2013 tickets go on sale at 6pm, but how long until they sell out?Apple's WWDC 2013 tickets go on sale at 6pm, but how long before they sell out?Tim Cook says competition is "tough", but Appl