Interplay of p-d and d-d charge transfer transitions in rare-earth perovskite manganites