Photophysical properties and structural analysis of modified methylene blues as near infrared dyes