conversions and friend declarations for iterator -> const_iterator conversions