Electron and hole spin relaxation in InP-based self-assembled quantum dots emitting at telecom wavelengths