Optimizing Recruitment with BERT: A Multi-task Approach for Resume Screening and Candidate Ranking