Brackets for mounting sensors