Submillimetre line and continuum observations of the S255 molecular cloud