Diagonal mappings between sequence spaces