Explain the difference between boundary value analysis and equivalence partitioning with concrete examples.