Ground-based optical measurements at European flux sites: a review of methods, instruments and current controversies