People in Scotland use online social networking sites more than those in any other part of the UK, a study has shown.