Tilting complexes, perpendicular categories and recollements of derived module categories of rings