Regulator Ofcom has fined Royal Mail £10.5 million for missing its post delivery targets in the 2023-2024 financial year.