Although critics such as John Ruskin and Roger Fry rejected his work, collectors came around to Caravaggio's style