Two areas of Sussex have been named among the best in Great Britain for public transport, according to a new study.