What is the role of the template.php file in a Drupal theme?