Deterministic Massively Parallel Algorithms for Graph Problems