Can you explain the difference between boundary value analysis and equivalence partitioning with practical examples?